<link href="__PUBLIC__/home/css/style.css" rel="stylesheet">
<link href="__PUBLIC__/home/css/style-responsive.css" rel="stylesheet">
<link href="__PUBLIC__/home/css/bootstrap.min.css" rel="stylesheet"> 
 <include file="application/home/view/public/header.html"/>
      <!-- /.aside -->
      <section id="content">
        <div class="wrapper">
            <div class="mail-box">
                <aside class="mail-nav mail-nav-bg-color">
                    <header class="header"> <h4>邮箱</h4> </header>
                    <div class="mail-nav-body">
                        <div class="text-center">
                            <a class="btn btn-compose" href="{:U('Mail/send')}">
                                撰写邮件
                            </a>
                        </div>
                        <ul class="nav nav-pills nav-stacked mail-navigation">
                            <li class="active">
                            	<a href="{:U('Mail/index')}"> 
                            		<i class="fa fa-inbox"></i>
                            		收信箱  
                            		<span class="label label-danger pull-right inbox-notification">{$wcount}</span>
                            	</a>
                            </li>
                            <li><a href="{:U('Mail/inbox')}"> <i class="fa fa-envelope-o"></i> 发信箱</a></li>
                            <li><a href="{:U('Mail/huanyuan')}"> <i class="fa fa-trash-o"></i>回收站</a></li>
                        </ul>

                        
                    </div>
                </aside>
                <section class="mail-box-info">
                    <header class="header">
                        
                        <div class="btn-toolbar">
                            <div class="btn-group">
                                <button class="btn btn-sm btn-primary"><i class="fa fa-refresh"></i></button>
                            </div>
                            <div class="btn-group select">
                                <button data-toggle="dropdown" class="btn btn-primary btn-sm dropdown-toggle">
                                    <span style="width: 70px;" class="dropdown-label">筛选</span>
                                    <span class="caret"></span>
                                </button>
                                <ul class="dropdown-menu text-left text-sm">
                                    <li><a href="#">已读</a></li>
                                    <li><a href="#">未读</a></li>
                                </ul>
                            </div>

                        </div>

                    </header>

                    <section class="mail-list">
                        <ul class="list-group ">
                        	<foreach name="list" item="v">
	                            <li class="list-group-item">
	                                <span class="pull-left chk">
	                                    <input type="checkbox"/>
	                                </span>
	                                <a class="thumb pull-left" href="#"> <img src="{$v['pic']}"> </a>
	                                <a class="" href="{:U('Mail/details',array('id'=>$v['id']))}"> <small class="pull-right text-muted">{$v.add_time|date="Y-m-d H:i:s",###}</small> <strong>{$v._name}</strong>  <span>{$v.title} </span> 
										<eq name="v.my_status" value="1">
	                                		<span class="label label-sm btn-success">已读</span> 
										<else/>
											<span class="label label-sm btn-warning">未读</span> 
										</eq>
	                                </a>
	                            </li>
                            </foreach>
                            
                           


                        	<div class="text-center">
			                  <ul class="pagination pagination-sm">
			                    <li>{$page}</li>
			                  </ul>
			                </div>
                        </ul>
                    </section>


                </section>
            </div>

        </div>
    </section>
  </section>
</section>
<script src="__PUBLIC__/home/js/app.v2.js"></script> <!-- Bootstrap --> <!-- App --> <script src="__PUBLIC__/home/js/charts/easypiechart/jquery.easy-pie-chart.js" cache="false"></script> <script src="__PUBLIC__/home/js/charts/sparkline/jquery.sparkline.min.js" cache="false"></script> <script src="__PUBLIC__/home/js/charts/flot/jquery.flot.min.js" cache="false"></script> <script src="__PUBLIC__/home/js/charts/flot/jquery.flot.tooltip.min.js" cache="false"></script> <script src="__PUBLIC__/home/js/charts/flot/jquery.flot.resize.js" cache="false"></script> <script src="js/charts/flot/jquery.flot.grow.js" cache="false"></script> <script src="__PUBLIC__/home/js/charts/flot/demo.js" cache="false"></script> <script src="__PUBLIC__/home/js/calendar/bootstrap_calendar.js" cache="false"></script> <script src="__PUBLIC__/home/js/calendar/demo.js" cache="false"></script> <script src="__PUBLIC__/home/js/sortable/jquery.sortable.js" cache="false"></script>
</body>
</html>









        